<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<stripes:form action="/Test.action">
    <table>
        <tr>
            <td>Number 1:</td>
            <td><stripes:text name="numberOne"/></td>
        </tr>
        <tr>
            <td>Number 2:</td>
            <td><stripes:text name="numberTwo"/></td>
        </tr>
        <tr>
            <td colspan="2">
                <stripes:submit name="add" value="Add"
                    onclick="invoke(this.form, this.name, 'result');"/>
                <stripes:submit name="divide" value="Divide"
                    onclick="invoke(this.form, this.name, 'result');"/>
            </td>
        </tr>
        <tr>
            <td>Result:</td>
            <td id="result"></td>
        </tr>
    </table>
</stripes:form>